package com.gold.mapper;

import java.util.List;
import java.util.Map;

import com.gold.entity.Game;

public interface GameMapper {
	public List<Game> selectAllGame();
	
	public List<Game> selectAllGameByPage(Map<String, String> map);
	
	public List<Game> selectGameByLike(Map<String, String> map);
	
	public List<Game> selectGameByPortal();
	
	public List<Game> selectGameByGameType(int gameType);
	
	public List<Game> selectGameByGameTypeAndName(Map<String, String> map);
	
	public Game selectGameByGameName(String gameName);
	
	public Game selectGameByGameId(int gameId);
	
	public void insertGame(Game game);
	
	public void updateGame(Game game);
	
	public void updateGameDownByGameId(Map<String, String> map);
	
	public void deleteGame(int gameId);

}
